package org.jackysoft.service;

import java.io.File;
import java.util.Collection;

import org.jackysoft.data.IDataProvider;
import org.jackysoft.entity.Folder;
import org.jackysoft.entity.UploadedFileItem;
import org.springframework.dao.DataAccessException;

public interface UploadFileService extends IDataProvider<String,UploadedFileItem> {
    
	void upload(File[] files,String[] uploadFileName, String folderId) throws DataAccessException;
	
	void upload(byte[] files,String uploadFileName, String folderId) throws DataAccessException;
    
    Collection<UploadedFileItem> getByParent(Folder parent,int start,int size) throws DataAccessException;
   
}
